package com.sservice.service.service;

import com.sservice.model.entity.InvoicePaper;
import com.sservice.model.vo.InvoicePaperVo;

/**
 * Created by suweiming on 2017/12/20.
 */

public interface InvoicePaperService {


    /**
     *  待开发票
     * @param ip
     * @return
     */
    Object open(InvoicePaper ip);

    /**
     * 合并开票
     * @param ip
     * @return
     */
    Object combineOpen(InvoicePaperVo ip);

    /**
     *  合并收票
     * @param ip
     * @return
     */
    Object combineReceive(InvoicePaperVo ip);

    /**
     *  删除已开票
     * @param ip.orderId
     * @return
     */
    Object delete(InvoicePaper ip);

    /**
     * 根据发票ID删除
     * @param ip
     * @return
     */
    Object deleteBy(InvoicePaper ip);
}
